From: Florian Müllner Date: Thu, 5 Mar 2026 15:22:41 +0000 (+0100) Subject: appDisplay: Stop using toggle-mode with folder icons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~26^2~1^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e781d8155ab312a1335dd3082dfd8abfef8430b9;p=gnome-shell.git appDisplay: Stop using toggle-mode with folder icons This is essentially a left-over from the original folder design, dating all the way back to commit 6e3e2d9 in 2013. It no longer makes much sense with the current design iteration, where we pretend that the icon pops out of the grid and becomes the dialog (i.e. we hide the icon and zoom out the dialog from its position). Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index e52278cba..20c133d7f 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2276,7 +2276,6 @@ export const FolderIcon = GObject.registerClass({ super._init({ style_class: 'overview-tile app-folder', button_mask: St.ButtonMask.ONE, - toggle_mode: true, can_focus: true, }, global.settings.is_writable('app-picker-layout')); this._id = id; @@ -2438,9 +2437,6 @@ export const FolderIcon = GObject.registerClass({ mode, delay: isOpen ? 0 : FOLDER_DIALOG_ANIMATION_TIME - duration, }); - - if (!isOpen) - this.checked = false; }); } }